package com.demo.juc.thread;

import com.sun.org.apache.bcel.internal.generic.NEW;

/**
 * @Author: jxm
 * @Description:
 * @Date: 2022/10/13 10:06
 * @Version: 1.0
 */
public class RunnableDemo {

    public static void main(String[] args){
        MyThread2 thread2 = new MyThread2();
        new Thread(thread2,"a").start();
        new Thread(thread2,"b").start();
    }


}

class MyThread2 implements Runnable {

    //实现Runnable接口
    @Override
    public void run() {

    }


}
